package com.msb.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.common.vo.CommonResult;
import com.msb.mall.core.entity.product.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author leixu
 * @email xuleiwolf@163.com
 * @date 2024-04-19 10:08:56
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity> findCategoryListByBrand(Long brandId);

    CommonResult saveSingle(CategoryBrandRelationEntity categoryBrandRelation);

    CommonResult updateSingle(CategoryBrandRelationEntity categoryBrandRelation);

    List<CategoryBrandRelationEntity> categoryBrandRelation(Long catId);
}

